package com.userinfo.ui;

import com.userinfo.R;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class AddUserActivity extends Activity {
    /** Called when the activity is first created. */
	private Button back = null;
	private Button reg = null;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.adduser);
        
        this.back = (Button) findViewById(R.id.reg_back_but);
        this.back.setOnClickListener(new backOnClick ());
    }
    private class backOnClick implements OnClickListener{

		@Override
		public void onClick(View v) {
			// TODO Auto-generated method stub
			Intent intent = new Intent(AddUserActivity.this, LoginActivity.class);
			startActivity(intent);
			finish();
			
		}
    	
    }
}